#检测钻石镐
execute as @a[scores={ZSG=1..}] at @s run scoreboard players add @s WJ 1
#检测下届合金镐
execute as @a[scores={XJHJ=1..}] at @s run scoreboard players add @s WJ 1
#检测钻石铲
execute as @a[scores={ZSC=1..}] at @s run scoreboard players add @s WJ 1
#检测下届合金铲
execute as @a[scores={XJHJC=1..}] at @s run scoreboard players add @s WJ 1
#检测钻石斧
execute as @a[scores={ZSF=1..}] at @s run scoreboard players add @s WJ 1
#检测下届合金斧
execute as @a[scores={XJHJF=1..}] at @s run scoreboard players add @s WJ 1








#清除
execute as @a[scores={ZSG=1..}] at @s run scoreboard players reset @s ZSG
execute as @a[scores={XJHJ=1..}] at @s run scoreboard players reset @s XJHJ
execute as @a[scores={ZSC=1..}] at @s run scoreboard players reset @s ZSC
execute as @a[scores={XJHJC=1..}] at @s run scoreboard players reset @s XJHJC
execute as @a[scores={ZSF=1..}] at @s run scoreboard players reset @s ZSF
execute as @a[scores={XJHJF=1..}] at @s run scoreboard players reset @s XJHJF